using System;
using System.Windows.Forms;

namespace AntEater.Runtime.UI
{
    /// <summary>
    /// The view interface defines a common interface for
    /// all views in the application.
    /// </summary>
    public interface IView
    {
        /// <summary>
        /// Gets the surface.
        /// </summary>
        /// <value>The surface.</value>
        Control Surface {
            get;
        }

        /// <summary>
        /// Refreshes this instance.
        /// </summary>
        void Refresh();
    }
}
